<template>
  <img alt="Vue logo" src="./assets/logo.png">
  <button @click="test1">按object对象的调用</button>
  <button @click="test2">2个参数的调用</button>
  <button @click="test3">1个参数的调用</button>
</template>

<script>
import { hello1,hello2,hello3 } from './api/test';
export default {
  name: 'App',
  methods:{
    test1(){
      hello1("abc","123456")
    },
    test2(){
      hello2("abc","123456")
    },
    test3(){
      hello3("abc")
    }
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
